<%= content_for :header do %>
    <div class="row">
      <div class="span3 offset9">
        <div id="login-menu">
          <% unless user_signed_in? %>
                <%= label_tag "Sign in", nil, class: 'btn', onclick: "self.location='#{ user_omniauth_authorize_path('google_oauth2') }';"%>
          <% else %>
            <div class="alert alert-success">
              <%= current_user.email %>
              <%= link_to "Log out", destroy_user_session_path, :method => :delete %>
            </div>
          <% end%>
        </div>
      </div>
    </div>
<% end %>